<style>
   table,tbody,tr ,th, td {
        border: 0.03px solid;
    }
    .panel-body{
        padding: 50px !important;
    }
</style>
<div  style="float:right;margin-bottom: 50px;"  >
    {if $order.status == 1}
    <button class="btn btn-large check" type="button">审核</button>
    {/if}
    {if $order.status == 2}
    <button class="btn btn-large send" type="button">发货</button>
    {/if}
    <button class="btn btn-large print" type="button">打印</button>
</div>
<input type="hidden" class="order-id" value="{$order.id}">
<div class="panel-body">
<div id="print-body" >
    <div class="row" style="margin-top:50px">
        <div class="col-xs-4 col-md-4 col-sm-4">
            <span>订单编号: {$order.order_no}</span>
        </div>
        <div class="col-xs-2">
            <span>{$order.status_text}</span>
        </div>
        <div class="col-xs-3">
            <span>产品数量:{$order.nums}</span>
        </div>
    </div>
    <div class="row">
        <div class="col-xs-3">
            <span>提交人: {$order.user.nickname}</span>
        </div>
        <div class="col-xs-3">
            <span>部门: {$order.depart}</span>
        </div>
        <div class="col-xs-4">
            <span>{:date('Y-m-d',$order.createtime)}</span>
        </div>
    </div>
    <div class="row" style="margin-top:30px">
        <table class="table">
            <tr>
                <th>序号</th>
                <th>供应商</th>
                <th>产品编码</th>
                <th>产品名称</th>
                <th>产品分类</th>
                <th>产品材料</th>
                <th>产品工艺</th>
                <th>产品数量</th>
            </tr>
            {foreach($goods as $k=> $v)}
            <tr >
                <td>{$k +1}</td>
                <td>{$v.supplier.supplier_name}</td>
                <td>{$v.product_code}</td>
                <td>{$v.product_name}</td>
                <td>{$v.product_category}</td>
                <td>{$v.product_material}</td>
                <td>{$v.product_technology}</td>
                <td>{$v.nums}</td>
                </tr>
                {/foreach}
             
        </table>
        </div>

    </div>


</div>